package com.batdream.message.pojo;

import com.batdream.message.pojo.ChatMsgByNetty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author Wang Chen Peng
 * @date 2018/12/30
 * describe:封装传输内容
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class DataContent {
    /**
     * 消息类型
     */
    private Integer action;

    /**
     * 用户聊天内容
     */
    private ChatMsgByNetty chatMsg;

    /**
     * 扩展字段
     */
    private String extand;
}
